﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace synoexec.synologylib.DataType
{
    public class DiskInfo
    {
        [JsonProperty("container_id")]
        public int ContainerId { get; set; }
        [JsonProperty("device")]
        public string Device { get; set; }
        [JsonProperty("diskType")]
        public string DiskType { get; set; }
        [JsonProperty("disk_code")]
        public string DiskCode { get; set; }
        [JsonProperty("disk_location")]
        public string DiskLocation { get; set; }
        /// <summary>
        /// headth 状态
        /// </summary>
        [JsonProperty("drive_status_category")]
        public string DriveStatusCategory { get; set; }
        [JsonProperty("drive_status_key")]
        public string DriveStatusKey { get; set; }
        [JsonProperty("has_system")]
        public bool HasSystem { get; set; }
        [JsonProperty("id")]
        public string ID { get; set; }
        [JsonProperty("longName")]
        public string LongName { get; set; }
        [JsonProperty("model")]
        public string Model { get; set; }
        [JsonProperty("name")]
        public string Name { get; set; }
        [JsonProperty("num_id")]
        public int NumID { get; set; }
        [JsonProperty("order")]
        public int Order { get; set; }
        [JsonProperty("overview_status")]
        public string OverviewStatus { get; set; }
        [JsonProperty("portType")]
        public string PortType { get; set; }
        [JsonProperty("serial")]
        public string Serial { get; set; }
        [JsonProperty("size_total")]
        public long SizeTotal { get; set; }
        [JsonProperty("slot_id")]
        public int SlotID { get; set; }
        [JsonProperty("status")]
        public string Status { get; set; }
        [JsonProperty("summary_status_category")]
        public string StatusCategory { get; set; }
        [JsonProperty("summary_status_key")]
        public string StatusKey { get; set; }
        [JsonProperty("temp")]
        public decimal Temp { get; set; }
        [JsonProperty("vendor")]
        public string Vendor { get; set; }
        [JsonProperty("used_by")]
        public string UsedBy { get; set; }
        [JsonProperty("ui_serial")]
        public string UiSerial { get; set; }
    }
}
